package shejimoshi.minglingmoshi;

public class client {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        Command command = new ConcreteCommand(receiver);
        Invoker invoker = new Invoker();

        invoker.setCommand(command);
        invoker.trigger(); // Receiver performs the action.
    }
}
